package org.caenv.interpreter.pojo.instructions;

import java.util.Map;
import org.caenv.interpreter.ExecutionException;

public abstract class Scope implements Instruction {

    protected State state;

    public void setState(State state) {
        this.state = state;
    }

    public State getState() {
        return state;
    }

    public abstract boolean build(Map<String, String> attributes);

    public abstract boolean execute(ExecutionPlan executionPlan) throws ExecutionException;

}
